package cn.fuxue.hrms.common.entity;

/**
 * @author 王文勇
 * @version 1.0
 * 绩效结果申请记录的相关信息
 */
import java.sql.Timestamp;

public class PerformanceResultApplicationRecord {
    // 记录 ID，主键
    private int id;
    // 员工 ID
    private int employeeId;
    // 评估 ID
    private int evaluationId;
    // 申请类型
    private String applicationType;
    // 申请时间
    private Timestamp applicationTime;

    // 无参构造函数
    public PerformanceResultApplicationRecord() {
    }

    // 全参构造函数
    public PerformanceResultApplicationRecord(int id, int employeeId, int evaluationId,
                                              String applicationType, Timestamp applicationTime) {
        this.id = id;
        this.employeeId = employeeId;
        this.evaluationId = evaluationId;
        this.applicationType = applicationType;
        this.applicationTime = applicationTime;
    }

    // Getter 方法
    public int getId() {
        return id;
    }

    public int getEmployeeId() {
        return employeeId;
    }

    public int getEvaluationId() {
        return evaluationId;
    }

    public String getApplicationType() {
        return applicationType;
    }

    public Timestamp getApplicationTime() {
        return applicationTime;
    }

    // Setter 方法
    public void setId(int id) {
        this.id = id;
    }

    public void setEmployeeId(int employeeId) {
        this.employeeId = employeeId;
    }

    public void setEvaluationId(int evaluationId) {
        this.evaluationId = evaluationId;
    }

    public void setApplicationType(String applicationType) {
        this.applicationType = applicationType;
    }

    public void setApplicationTime(Timestamp applicationTime) {
        this.applicationTime = applicationTime;
    }

    @Override
    public String toString() {
        return "PerformanceResultApplicationRecord{" +
                "id=" + id +
                ", employeeId=" + employeeId +
                ", evaluationId=" + evaluationId +
                ", applicationType='" + applicationType + '\'' +
                ", applicationTime=" + applicationTime +
                '}';
    }
}
